package com.example.administrator.wallet.custom;

import org.java_websocket.handshake.ServerHandshake;

/**
 * Created by Administrator on 2018/8/27 0027.
 */

public interface WebSocketStateChangeListener {


    void onOpen(ServerHandshake handshakedata);

    void onMessage(String mes);

    void onClose(int code, String reason, boolean remote);

    void onError(Exception ex);


}
